// Copyright 2011 Jefferson Willian
// willmont7@gmail.com

#include <cstdio>

int main() {
  int n;
  int t;
  int buf = 0;

  scanf("%d", &n);

  for (int i = 0;i < n;i++) {
    scanf("%d", &t);
    buf += t;
  }

  printf("%d\n", buf);

  return 0;
}
